#include <stdio.h>

int main()
{
    int a,b,c;
    scanf("%d %d",&a,&b);
    
    c=a%b;
    if( c == 0){
        printf("yes");

    }else{
        printf("%d %d",a/b,a%b);
    }
    return 0;

 }   